package com.atguigu.spzx.feign.product.fallback;

import com.atguigu.spzx.feign.product.ProductFeignClient;
import com.atguigu.spzx.model.entity.product.ProductSku;
import org.springframework.stereotype.Component;

/**
 * @ClassName: ProductFeignClientFallback
 * @Package: com.atguigu.spzx.feign.product.fallback
 * @Description 降级方法
 * @Author 孤妤
 * @Date: 2023/12/20 9:11
 */
@Component
public class ProductFeignClientFallback implements ProductFeignClient {
    @Override
    public ProductSku getBySkuId(Long skuId) {
        return new ProductSku();
    }
}
